<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="save()">

    <div class="form-group" style="padding-left:20px;">
      <button type="button" class="btn btn-default" ng-click="addRelevantData();">新增资讯</button>
    </div>

    <table class="table table-bordered w850">
      <tr style="" ng-repeat="r in relevantData">
        <td class="w100 tc" style="vertical-align: middle;">资讯标题</td>
        <td class="w240" style="">
          <input type="text" class="form-control" autocomplete="off" name="pName" ng-model="r.zxbt" placeholder="最多28字" maxlength="28">
        </td>
        <td class="w100 tc" style="vertical-align: middle;">资讯地址</td>
        <td class="w240" style="">
          <input type="text" class="form-control" autocomplete="off" name="pName" ng-model="r.zxdz">
        </td>
        <td style="">
          <button type="button" class="btn btn-default" ng-click="deleteRelevantData($index);">删除资讯</button>
        </td>
      </tr>
    </table>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-5">
        <button type="submit" class="btn btn-default">提交</button>
      </div>
    </div>

  </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>